<%-- 
    Document   : FormatingTags
    Created on : 24 Jun, 2011, 12:29:46 PM
    Author     : mpower
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.Locale"%>
<%@taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Formating Tags</title>
    </head>
    <body>
        <fmt:setLocale value='<%=new Locale("en","IN")%>'/>
        <fmt:formatNumber type="currency" value="45"/><br/>
        <fmt:formatDate type="time" timeStyle="short" dateStyle="medium" value="<%=new java.util.Date()%>"/>
    </body>
</html>
